﻿capital = 46

oob = "tabrasa_1939ITA"


recruit_character = ROM_gheorghe_tatarescu
recruit_character = ROM_constantin_ion_parhon
recruit_character = ROM_armand_calinescu
recruit_character = ROM_corneliu_codreanu
recruit_character = ROM_petre_dumitrescu
recruit_character = ROM_ion_antonescu
recruit_character = ROM_ioan_mihail_racovita
recruit_character = ROM_gheorghe_avramescu
recruit_character = ROM_constantin_sanatescu
recruit_character = ROM_horia_macellariu
recruit_character = ROM_gheorghe_potopeanu
recruit_character = ROM_emanoil_ionescu
recruit_character = ROM_gheorghe_mihail
recruit_character = ROM_ermil_gheorghiu
recruit_character = ROM_nicolae_sova
recruit_character = ROM_gheorghe_jienescu
recruit_character = ROM_paul_teodorescu
recruit_character = ROM_gheorghe_vasiliu
recruit_character = ROM_iuliu_maniu
recruit_character = ROM_petru_groza
recruit_character = ROM_gheorghe_gheorghiu_dej
recruit_character = ROM_nicolae_malaxa
recruit_character = ROM_mihail_sturdza
recruit_character = ROM_gheorghe_argeseanu
recruit_character = ROM_king_michael
recruit_character = ROM_octavian_goga


# Starting tech
set_technology = {
	infantry_weapons = 1
	gw_artillery = 1
	interwar_antiair = 1
	interwar_antitank = 1
	basic_train = 1
	motorised_infantry = 1
	tech_support = 1
	basic_train = 1
	tech_trucks = 1 
}
add_equipment_to_stockpile = { type = train_equipment_1 amount = 75 producer = GER }

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_technology = {
			aa_lmg = 1
			engines_1 = 1
			early_bombs = 1
			aircraft_construction = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
		}
	create_equipment_variant = {
		name = "He 51" #also covers Ar 68
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	create_equipment_variant = {
		name = "Ju 86"
		type = medium_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			fixed_auxiliary_weapon_slot_1 = empty
			fixed_auxiliary_weapon_slot_2 = empty
			fixed_auxiliary_weapon_slot_3 = empty
			engine_type_slot = engine_1_2x
			special_type_slot_1 = lmg_defense_turret
			special_type_slot_2 = lmg_defense_turret
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
	}	
	else = {
		set_technology = {
			early_fighter = 1
			early_bomber = 1
		}
	}
}	

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = { 
		gwtank = 1
	}
}

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = { 
		gwtank_chassis = 1
		
	}
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		early_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_battery = 1
		basic_dp_light_battery = 1
		basic_torpedo = 1
		coastal_defense_ships = 1
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_destroyer = 1
		early_light_cruiser = 1
	}
}

if = {
	limit = { has_dlc = "Man the Guns" }
	# Destroyers #
	create_equipment_variant = {
		name = "Marasti Class"			
		type = ship_hull_light_1
		name_group = ROM_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = dp_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
	# Light Cruisers #
	create_equipment_variant = {
		name = "Regele Class"					
		type = ship_hull_cruiser_1
		name_group = ROM_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = dp_ship_secondaries_1
			mid_1_custom_slot = ship_torpedo_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_airplane_launcher_1
		}
	}
	# Costal Defense #
	create_equipment_variant = {
		name = "Ferdinand Class"
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = ROM_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = dp_ship_secondaries_1
			mid_1_custom_slot = dp_ship_secondaries_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
}





if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_technology = {
		armored_car1 = 1
	}
}

set_convoys = 50
set_research_slots = 4
set_stability = 0.6
set_war_support = 0.6
add_political_power = 2000
add_manpower = 50000
add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 10000 producer = GER }


set_popularities = {
	democratic = 25
	fascism = 25
	communism = 25
	neutrality = 25
}

#Ideas
if = {
	limit = {
		has_dlc = "Death or Dishonor"
	}
	add_ideas = {
		ROM_king_carol_ii_hedonist
	}
	give_guarantee = CZE
	give_guarantee = GRE
	give_guarantee = TUR
	give_guarantee = YUG
}
if = {
	limit = {
		AND = {  
			NOT = { has_dlc = "Death or Dishonor" }
			has_dlc = "Battle for the Bosporus"
		}
	}
	give_guarantee = GRE
	give_guarantee = TUR
	give_guarantee = YUG
}
add_ideas = neutrality_idea

#Kick off kings crazy life
if = {
	limit = {
		has_dlc = "Death or Dishonor"
	}
	ROM = {
		#Pick from list of the sane events first
		random_list = {
			100 = { country_event = { id = DOD_romania.81 days = 2 random_days = 20 } }
		}
	}
}

if = {
	limit = {
		#has_dlc = Battle for the Bosporus
	}
	add_opinion_modifier = { 
		target = GRE
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = TUR
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = YUG
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = BUL
		modifier = BFTB_balkan_pact_enemy
	}
	add_opinion_modifier = { 
		target = HUN
		modifier = BFTB_balkan_pact_enemy
	}
}


1939.1.1 = {
	
	remove_ideas = neutrality_idea

	if = {
		limit = {
			has_dlc = "Death or Dishonor"
		}
		complete_national_focus = ROM_preserve_greater_romania
		complete_national_focus = ROM_army_maneuvers
		complete_national_focus = ROM_expand_the_air_force
		complete_national_focus = ROM_civil_works
		complete_national_focus = ROM_agrarian_reform
		complete_national_focus = ROM_local_development
		complete_national_focus = ROM_army_war_college
		complete_national_focus = ROM_danubian_transport_network
		complete_national_focus = ROM_malaxa
		complete_national_focus = ROM_flexible_foreign_policy
#		complete_national_focus = ROM_air_superiority
		complete_national_focus = ROM_expand_the_galati_shipyards
		complete_national_focus = ROM_trade_treaty_with_germany
		complete_national_focus = ROM_iar_80
		complete_national_focus = ROM_appoint_allied_friendly_government
		complete_national_focus = ROM_cas
		complete_national_focus = ROM_royal_guards_divisions
		complete_national_focus = ROM_the_zb_53
		complete_national_focus = ROM_vanatori_de_munte
		complete_national_focus = ROM_hunedoara_steel_works
		complete_national_focus = ROM_appoint_german_friendly_government
		complete_national_focus = ROM_invite_german_advisors
		complete_national_focus = ROM_iron_guard

		#King stuff
		unlock_national_focus = ROM_institute_royal_dictatorship
		unlock_national_focus = ROM_revise_the_constitution
		create_country_leader = {
			name = "Carol II"
			desc = "POLITICS_CAROL_II_DESC"
			picture = GFX_Portrait_romania_Carol_II			
			expire = "1965.1.1"
			ideology = despotism
			traits = {
				hedonist
				camarilla_leader
			}
			id = 550
		}

	}
	
	if = {
		limit = { has_dlc = "Man the Guns" }
		else = {
		}
	}
}

set_politics = {
	ruling_party = democratic
	last_election = "1933.12.20"
	election_frequency = 48
	elections_allowed = yes
}


1939.1.1 = {
	set_politics = {
		ruling_party = neutrality
		last_election = "1939.7.15"
		election_frequency = 48
		elections_allowed = no
	}
}
